{layout name="public/layout"}
<div class="site-block">
    <blockquote class="layui-elem-quote">
        <span class="layui-breadcrumb" lay-separator=">">
            <a href="">首页</a>
        </span>
    </blockquote>
    <fieldset class="layui-elem-field">
        <div class="layui-field-box">
            <hr class="layui-bg-orange">
            <style>
                table thead tr th{text-align: center}
            </style>
            <table class="layui-table" lay-even lay-skin="" >


                <tbody>

                <tr>
                    <td width="213" align="right">服务器解译引擎：</td>
                    <td width="387"><?php echo $_SERVER['SERVER_SOFTWARE'];?></td>
                </tr>
                <tr>
                    <td width="213" align="right">PHP版本：</td>
                    <td width="387"><?php echo PHP_VERSION?></td>
                </tr>
                <tr>
                    <td align="right">域名：</td>
                    <td><?php echo $_SERVER['HTTP_HOST']?></td>
                </tr>
                <tr>
                    <td align="right">allow_url_fopen：</td>
                    <td><?php echo ini_get('allow_url_fopen') ? '<span class="green">支持</span>' : '<span class="red">不支持</span>'?></td>
                </tr>
                <tr>
                    <td align="right">curl_init：</td>
                    <td><?php if ( function_exists('curl_init') ){ echo '<span class="green">支持</span>' ;}else{ echo '<span class="red">不支持</span>';}?></td>
                </tr>
                <tr>
                    <td align="right">/data/目录权限检测：</td>
                    <td><?php echo is_writable('../data/') ? '<span class="green">可写</span>' : '<span class="red">不可写</span>'?></td>
                </tr>



                </tbody>

            </table>
        </div>
    </fieldset>
</div>